package whr.modules.ask.entity.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import whr.common.validator.DateUtil;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ReplyVo implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 请假ID
     */
    @TableId
    private Long askId;
    /**
     * 员工id
     */
    private Long userId;
    /**
     * 开始时间
     */
    @JsonDeserialize(using = DateUtil.class)
    private Date beginTime;
    /**
     * 结束时间
     */
    @JsonDeserialize(using = DateUtil.class)
    private Date endTime;
    /**
     * 状态 0待审核 1已审核
     */
    private String askStatus;
    /**
     * 审核人
     */
    private String askReviewer;
    /**
     * 审核回复
     */
    private String askReturn;
    /**
     * 请假原因
     */
    private String askReason;
    //不存在数据
    /**
     * 员工真实姓名
     */
    private String userName;
}
